package com.yzy.fly.kernel.model;

import lombok.Data;

@Data
public class AppApp extends FlyBasicModel<Long,AppApp> {
    private Long id;
    private Long globalId;
    private Base base;
    private Vhl vhl;


//    @JSONField(serialize = false,deserialize = false)
//    @Override
//    public List<Role> getRoleChildrens() {
////        Lists.newArrayList().addAll(base,vhl);
//        return Arrays.asList(new Role[]{base,vhl});
//    }
    @Override
    public Long getRoleId() {
        return id == null? null : Long.valueOf(id);
    }
    @Override
    public Long getRoleGlobalId() {
        return null == globalId ? null:Long.valueOf(globalId);
    }

}
